package commons.exception;

import network.communication.Connection;

public class ClosedConnectionException extends Exception {

	/**
	 * 
	 */
	private static final long	serialVersionUID	= 3339832560571851556L;
	private Connection			closedConnection;

	public ClosedConnectionException(final Connection connection) {
		closedConnection = connection;
	}

	public ClosedConnectionException(final String message, final Throwable cause) {
		super(message, cause);
	}

	public ClosedConnectionException(final Throwable cause) {
		super(cause);
	}

	public Connection getClosedConnection() {
		return closedConnection;
	}
}
